package com.cskaoyan.bean.goods;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;


@Data
@NoArgsConstructor
@AllArgsConstructor
public class CatAndBrandVO {

    private List<CategoryList> categoryList;
    private List<Brand> brandList;

    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    public static class CategoryList{
        private Integer value;
        private String label;
        private List<Category> children;

        @Data
        @NoArgsConstructor
        @AllArgsConstructor
        public static class Category{
            private Integer value;
            private String label;
        }
    }

    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    public static class Brand{
        private Integer value;
        private String label;
    }
}

